arm64: mvebu: armada-8040-db.dts: Add I2C and SPI aliases
authorStefan Roese <[email protected]>
Tue, 25 Oct 2016 16:11:44 +0000 (18:11 +0200)
committerStefan Roese <[email protected]>
Mon, 5 Dec 2016 12:28:23 +0000 (13:28 +0100)
Add I2C and SPI aliases to enable usage in U-Boot. Otherwise U-Boot will
not be able to use the SPI NOR chip for environment storage and use
"i2c dev 0" to select this I2C bus.

Signed-off-by: Stefan Roese <[email protected]>
Cc: Nadav Haklai <[email protected]>
Cc: Neta Zur Hershkovits <[email protected]>
Cc: Kostya Porotchkin <[email protected]>
Cc: Omri Itach <[email protected]>
Cc: Igal Liberman <[email protected]>
Cc: Haim Boot <[email protected]>
Cc: Hanna Hawa <[email protected]>
arch/arm/dts/armada-8040-db.dts

index 49780923bd3612a26adee3bbd434082190d24e82..7fb674b8b77fe94b2e0a223bd274e4d45ccd2309 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
+       aliases {
+               i2c0 = &cpm_i2c0;
+               spi0 = &spi0;
+       };
+
        memory@00000000 {
                device_type = "memory";
                reg = <0x0 0x0 0x0 0x80000000>;